/*
* 根据路由写入标题
* */
const indexTitle = (pathName, listData) => {
  let title = null
  for (let i = 0; i < listData.length; i++) {
    if (pathName === listData[i].modulePath) {
      title = listData[i].moduleName
      break
    }
  }
  return title
}

const moduleTitle = (pathName, listData) => {
}

export default {
  indexTitle, moduleTitle
}
